package com.lecyon.farm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 农机基本信息表
 * </p>
 *
 * @author YaoZheng
 * @since 2020-04-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel("农机基本信息")
public class FmCar extends Model<FmCar> {

    @TableId(value = "id", type = IdType.NONE)
    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "主机号")
    private String carId;

    @ApiModelProperty(value = "车主")
    private String owner;

    @ApiModelProperty(value = "电话")
    private String ownerPhone;

    @ApiModelProperty(value = "作业类型")
    private String workType;

    @ApiModelProperty(value = "宽幅")
    private String width;

    @ApiModelProperty(value = "区域")
    private String location;

    @ApiModelProperty(value = "省份")
    private String province;

    @ApiModelProperty(value = "市级")
    private String city;

    @ApiModelProperty(value = "区县")
    private String county;

    @ApiModelProperty(value = "乡镇")
    private String towns;

    @ApiModelProperty(value = "合作社")
    private String cooperation;

    @ApiModelProperty(value = "公司")
    private String company;

    @ApiModelProperty(value = "机构1")
    private String dept1;

    @ApiModelProperty(value = "机构2")
    private String dept2;

    @ApiModelProperty(value = "机构3")
    private String dept3;

}
